<?php
namespace api\modules\v1\controllers\trade;
use Yii;
use api\modules\v1\controllers\CoreController;
use api\modules\models\member\Member;
use api\modules\models\finance\Balance;
use common\models\finance\ExchangeLogModel;
use common\service\RechargeService;

use common\utils\CommonFun;

/*
	充值
*/

class RechargeController extends CoreController
{

	/*
		* 充值配置信息
	*/
	public function actionRecharge_conf()
	{
		$params = [
			'member_id' => $this->_memberId,
			'address'	=> $this->_member['address'],
			'private_key' => $this->_member['private_key'],
		];

		$res = RechargeService::rechargeConf($params);
		if(!$res['state']) $this->error($res['msg']);
		$this->out('充值配置信息',$res['data']);
	}


	/*
		充值列表
	*/


}